package com.financial.service.heemoney.controller.report;

import com.financial.service.heemoney.dto.inparameter.HeemoneyPayQueryInParamDTO;
import com.financial.service.heemoney.dto.inparameter.HeemoneyProviderQueryInParamDTO;
import com.financial.service.heemoney.dto.inparameter.HeemoneyProviderSubmitInParamDTO;
import com.financial.service.heemoney.service.FinancialProQueryHeemoneylogService;
import com.financial.service.heemoney.service.FinancialProsubmitHeemoneylogService;
import com.financial.service.heemoney.utils.apiresult.ApiResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @api {post}
 * @apiExample author zhaopengjun
 * tar  汇收银进件查询服务
 * date   2019/12/25 17:41
 * @apiGroup
 * @apiVersion 1.0.0
 * @apiHeader
 * @apiParam
 * @apiSuccess
 */
@RestController
@RequestMapping("/heemoneyProQuery")
public class HeemoneyProQueryController {
    @Autowired
    FinancialProQueryHeemoneylogService financialProQueryHeemoneylogService;

    @PostMapping("/providerQuery")
    public ApiResult providerQuery(@RequestBody HeemoneyProviderQueryInParamDTO heemoneyProviderQueryInParamDTO) {
        return financialProQueryHeemoneylogService.providerQuery(heemoneyProviderQueryInParamDTO);
    }

}
